<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			function person(nation,skiColor){
				this.nation=nation;
				this.skiColor=skiColor;
			}
			person.prototype.getNation=function(){
				return this.nation;
			}
			person.prototype.getSiknColor=function(){
				return this.skiColor;
			}
			
			function  Woman(nation,skinColor,sex){
				person.call(this,nation,skinColor);
				this.sex=sex;
			}
			Woman.prototype=new person();
			Woman.prototype.gender=function(){
				return this.sex;
			}
			
			var woman1=new Woman("汉族","黄色","女");
			 document.write("名族："+woman1.getNation()+
			 "<br />肤色:"+woman1.getSiknColor()+
			 "<br />性别:"+woman1.gender());
		</script>
	</head>
	<body>
		
	</body>
</html>
